package demo.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

@MappedSuperclass  
public class DateTimeFiled {
	
	@Column
	private Date createTime;
	
	@Column
	private Date modifyTime;

	public DateTimeFiled() {
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public DateTimeFiled(Date createTime, Date modifyTime) {
		this.createTime = createTime;
		this.modifyTime = modifyTime;
	}
	
}
